package com.apps.sannotation.service;

import com.apps.sannotation.service.enums.CacheModel;

import java.lang.annotation.*;

/**
 * 该对象是否开启redis缓存
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OnRedisCache
{
    /*
    指定缓存模式
     */
    CacheModel model();

}
